﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LoginCtrl.ascx.cs" Inherits="AricentTestProject.controls.LoginCtrl" %>
<asp:Label ID="LoginErr" runat="server" ForeColor="White"></asp:Label>
<% if (User == null)
   {%>
<div class="topSearch left">
    <asp:TextBox CssClass="login-ctrls" ID="LoginBox" runat="server"></asp:TextBox>
</div>
<div class="topSearch left">
    <asp:TextBox TextMode="Password" CssClass="login-ctrls" ID="PassBox" runat="server"></asp:TextBox>    
</div>
<asp:Button CssClass="login-btn" OnClick="onLoginClick" ID="LoginBtn" runat="server" Text="Login" />
<%}
   else
   { %>
   <div class="logged">Logged</div>
<% } %>